package net.maku.events.convert;

import net.maku.events.entity.UserContestQuestionOptionEntity;
import net.maku.events.vo.UserContestQuestionOptionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户所答竞赛题选项
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserContestQuestionOptionConvert {
    UserContestQuestionOptionConvert INSTANCE = Mappers.getMapper(UserContestQuestionOptionConvert.class);

    UserContestQuestionOptionEntity convert(UserContestQuestionOptionVO vo);

    UserContestQuestionOptionVO convert(UserContestQuestionOptionEntity entity);

    List<UserContestQuestionOptionVO> convertList(List<UserContestQuestionOptionEntity> list);

}